Package-level declarations
Inherited functions
Link copied to clipboard
Counts continuous characters in this string that match the given predicate.
Counts continuous characters in this string that match the given predicate. The count goes withing the given range, which is coerced to the string boundaries.
inline fun CharSequence.countWhile(start: Int = 0, end: Int = length, predicate: (Char) -> Boolean): Int
Link copied to clipboard
Link copied to clipboard
Checks if this character matches pattern [a-zA-Z].
Link copied to clipboard
Checks if this character matches pattern [a-zA-Z0-9].
Link copied to clipboard
Creates a view for this string with all characters in the reverse order. Any changes in the original string will be reflected in the view.